//创建自签名证书
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt